import { LoginDto, LoginResult } from "@/types/login";
import { requets } from "@/utils/request";


export const LoginReq = (data: LoginDto) => requets<LoginResult>({ url:"/hospital-api/mis_user/login", method: 'POST', data})
